From: Glenn Morris Date: Sat, 22 Jan 2011 22:13:17 +0000 (-0800) Subject: * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5099 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=19e8d9387636fcda5308c62a241d5c46b104a0b3;p=emacs.git * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use copyright-find-copyright. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 97ca518f38a..712ef1bcba6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,7 @@ (copyright-update): Don't mess with the GPL version if we don't own the copyright. Update license regexp, and remove no longer needed Esperanto stuff. + (copyright-fix-years): Use copyright-find-copyright. 2011-01-22 Chong Yidong diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index 0d34675e023..a6a545ac57b 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -255,7 +255,7 @@ Uses heuristic: year >= 50 means 19xx, < 50 means 20xx." (interactive) (widen) (goto-char (copyright-start-point)) - (if (copyright-re-search copyright-regexp (copyright-limit) t) + (if (copyright-find-copyright) (let ((s (match-beginning 2)) (e (copy-marker (1+ (match-end 2)))) (p (make-marker))